package com.pureut.production.domain.vo;


import com.pureut.common.core.web.domain.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

/**
 * @author: CM
 * @date: 2023/2/6  16:25
 */
@Data
public class LineWarehouseVo extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 编码
     */
    @NotBlank(message = "编码不能为空")
    @Pattern(regexp = "^[a-zA-Z0-9_]+$", message = "字段编码只能由数字、字母、下划线组成")
    private String warehouseCode;

    /**
     * 名称
     */
    @NotBlank(message = "名称不能为空")
    private String warehouseName;

    /**
     * 车间编码
     */
    private String workshop;

    /**
     * 线别编码
     */
    private String addType;

    /**
     * 容积
     */
    private String volume;

    /**
     * 容量
     */
    private String capacity;

    /**
     * 备注
     */
    //private String remark;

    /**
     * 名称
     */
    private String name;

}
